package com.soap.service;

import java.util.List;

/**
 * @Description
 * @Author ZhangPY
 * @Date 2020/6/15
 */
public interface UserPermissionService {

    /**
     * 通过id获取对应的资源权限
     * @param userId
     * @return
     */
    String getUserPermissions(Long userId);

    /**
     * 通过id获取对应的资源权限list
     * @param userId
     * @return
     */
    String getUserPermissionsList(Long userId);

    /**
     * 更新权限树
     * @param userId
     * @param permissionsId
     * @return
     */
    String updateUserPermissions(Long userId, String permissionsId);

}
